package com.example.transaction_service_b.service;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/5/18.
 */
public interface EventProcessService {

    /**
     * 查所有状态为new的数据
     * @return
     */
    List<Map<String,Object>> selectDataByNew();

    /**
     * 向待处理表新增一条数据
     * @param paramMap
     * @return
     */
    boolean insertData(Map<String,Object> paramMap);

    /**
     * 更新状态
     * @return
     */
    int updateDataByStatus();
}
